package com.niuwa.p2p.entity.claimtransfer;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 转让记录表
 * @author Dell
 *
 */
public class TransferRecord {
    private Long id;

    private String projectCode;

    private Long buyer;

    private Long seller;

    private BigDecimal price;

    private BigDecimal capital;

    private Date transTime;

    private String sellerProdType;

    private String buyerProdType;

    /** 卖出者债权编号 */
    private String creditNo;

    private String sellerName;

    private String buyerName;
    
    /** 买入者债权编号 */
    private String buyerCreditNo;
    
    /** 买入者产品编号 */
    private String buyerProdCode;
    
    /** 买入者产品名称 */
    private String buyerProdName;
    
    /** 卖出者产品编号 */
    private String sellerProdCode;
    
    /** 卖出者产品名称 */
    private String sellerProdName;

    public TransferRecord(){
    	
    }
    public TransferRecord(Long id, String projectCode, Long buyer, Long seller, BigDecimal price, BigDecimal capital, Date transTime, String sellerProdType, String buyerProdType, String creditNo, String sellerName, String buyerName, String buyerCreditNo, String buyerProdCode, String buyerProdName, String sellerProdCode, String sellerProdName) {
		this.id = id;
		this.projectCode = projectCode;
		this.buyer = buyer;
		this.seller = seller;
		this.price = price;
		this.capital = capital;
		this.transTime = transTime;
		this.sellerProdType = sellerProdType;
		this.buyerProdType = buyerProdType;
		this.creditNo = creditNo;
		this.sellerName = sellerName;
		this.buyerName = buyerName;
		this.buyerCreditNo = buyerCreditNo;
		this.buyerProdCode = buyerProdCode;
		this.buyerProdName = buyerProdName;
		this.sellerProdCode = sellerProdCode;
		this.sellerProdName = sellerProdName;
	}

	public String getBuyerCreditNo() {
		return buyerCreditNo;
	}

	public void setBuyerCreditNo(String buyerCreditNo) {
		this.buyerCreditNo = buyerCreditNo;
	}

	public String getBuyerProdCode() {
		return buyerProdCode;
	}

	public void setBuyerProdCode(String buyerProdCode) {
		this.buyerProdCode = buyerProdCode;
	}

	public String getBuyerProdName() {
		return buyerProdName;
	}

	public void setBuyerProdName(String buyerProdName) {
		this.buyerProdName = buyerProdName;
	}

	public String getSellerProdCode() {
		return sellerProdCode;
	}

	public void setSellerProdCode(String sellerProdCode) {
		this.sellerProdCode = sellerProdCode;
	}

	public String getSellerProdName() {
		return sellerProdName;
	}

	public void setSellerProdName(String sellerProdName) {
		this.sellerProdName = sellerProdName;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode == null ? null : projectCode.trim();
    }

    public Long getBuyer() {
        return buyer;
    }

    public void setBuyer(Long buyer) {
        this.buyer = buyer;
    }

    public Long getSeller() {
        return seller;
    }

    public void setSeller(Long seller) {
        this.seller = seller;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getCapital() {
        return capital;
    }

    public void setCapital(BigDecimal capital) {
        this.capital = capital;
    }

    public Date getTransTime() {
        return transTime;
    }

    public void setTransTime(Date transTime) {
        this.transTime = transTime;
    }

    public String getSellerProdType() {
        return sellerProdType;
    }

    public void setSellerProdType(String sellerProdType) {
        this.sellerProdType = sellerProdType == null ? null : sellerProdType.trim();
    }

    public String getBuyerProdType() {
        return buyerProdType;
    }

    public void setBuyerProdType(String buyerProdType) {
        this.buyerProdType = buyerProdType == null ? null : buyerProdType.trim();
    }

    public String getCreditNo() {
        return creditNo;
    }

    public void setCreditNo(String creditNo) {
        this.creditNo = creditNo == null ? null : creditNo.trim();
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName == null ? null : sellerName.trim();
    }

    public String getBuyerName() {
        return buyerName;
    }

    public void setBuyerName(String buyerName) {
        this.buyerName = buyerName == null ? null : buyerName.trim();
    }
}